package cn.yd.rb.service;

import cn.yd.rb.po.*;

import java.util.List;

public interface NovelService {
     List<Type> findNoveltype();
     PageBean<Novel>  findNovelAll(Integer pc, Integer ps, NovelQueryVo novelQueryVo);
     List<Novel>  findNovelAll(Integer novel_id);
     List<Novel> findNovelHot();
     List<Novel> findNovelSlider();

     List<Novel> findNovelVip(String str);

    List<Novel> findNovelRec();

    List<Novel> findNovelDowm();

    Novel findNovelById(Integer id);

    Integer findNovelCounts();

    void logicDeleteNovel(List<Integer> ids);

    PageBean<Novel> findDeletedNovelAll(Integer pc, Integer pageSiez, NovelQueryVo novelQueryVo);

    void recoverNovel(List<Integer> arr);

    void addNewNovel(Novel novel)throws Exception;

    void updateNovelTxt(Novel novel);

    List<Chapter> findChapterAllById(Integer id);

    void addCounts(Integer id);
}
